<template>
  <header class="navbar">
    <div>{{ props.title }}</div>
  </header>
</template>

<script lang="ts" setup>
const props = defineProps({
  title: {
    type: String,
    default: "",
  },
});
</script>

<style lang="less" scoped>
.navbar {
  top: 0;
  position: fixed;
  width: 100%;
  z-index: 10;
  background: #fdfdfd;
  box-shadow: 0 2px 8px rgba(229 229 229, 0.5);
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  border-bottom: 1px solid #ccc;
}
</style>
